-- GENERATED SPELL FOR [Duronn the Runewrought] --


function spell0_30353(pUnit, Event) --@Reconstruction,Heal--
pUnit:FullCastSpellOnTarget(61315,pUnit)
pUnit:RegisterEvent('Sorts_30353', 3000, 1)
end

function spell1_30353(pUnit, Event) --@Stomp,n/a--
pUnit:FullCastSpellOnTarget(56490,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30353', 529, 1)
end

function Sorts_30353(pUnit, Event)
local choix_sorts_30353 = math.random(0, 1)
if choix_sorts_30353 == 0 then
pUnit:RegisterEvent('spell0_30353', 1, 1)
end
if choix_sorts_30353 == 1 then
pUnit:RegisterEvent('spell1_30353', 1, 1)
end
end

function mob30353_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30353', math.random(1500, 3000), 1)
end

function mob30353_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30353_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30353_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30353, 1, 'mob30353_Action')
RegisterUnitEvent(30353, 2, 'mob30353_Leave')
RegisterUnitEvent(30353, 3, 'mob30353_Kill')
RegisterUnitEvent(30353, 4, 'mob30353_Die')
